package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 用户部门关联表(SysUserDept)表实体类
 *
 * @author danmo
 * @since 2024-02-26 17:31:57
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("sys_user_dept")
public class SysUserDept extends BaseEntity implements Serializable {
  private static final long serialVersionUID = -69228919893903186L;
   
    /**
     *  主键ID
     */

    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;


     
    /**
     *  用户ID 
     */
    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;
    
    
     
    /**
     *  部门ID 
     */
    @Schema(description = "部门ID")
    @TableField("dept_id")
    private Long deptId;
    
    
     
    /**
     *  是否负责人  0-否  1-是删除 
     */
    @Schema(description = "是否负责人  0-否  1-是删除")
    @TableField("leader")
    private Integer leader;
    
    
    
    
    
    
    


}

